package com.example.beanpostprocessor;

import com.example.beanpostprocessor.config.HelloServiceTest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class BeanpostprocessorApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(BeanpostprocessorApplication.class, args);
        HelloServiceTest bean = run.getBean(HelloServiceTest.class);
        bean.testSayHello();
    }

}
